/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.common.seal.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 描述: 机构印章关联配置表 config_org_related_seal 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年03月02日
 */
@Data
@Table(name = "upcase.config_org_related_seal")
public class ConfigOrgRelatedSeal implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 机构编码
     */
    @Column(name = "org_code")
    private String orgCode;

    /**
     * 机构名称
     */
    @Column(name = "org_name")
    private String orgName;

    /**
     * 印章编码
     */
    @Column(name = "seal_code")
    private String sealCode;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 最新更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;


    /**
     * 机构统一社会信用代码
     */
    @Column(name = "uniscid")
    private String uniscid;

    /**
     * 机构编码
     */
    @Column(name = "dept_code")
    private String deptCode;
    /**
     * 印章pdf
     */
    @Column(name = "seal_pdf_url")
    private String sealPdfUrl;

    private static final long serialVersionUID = 1L;

}